home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 June / SGI Freeware 1998 June.iso / dist / fw_ATxgopher.idb / usr / freeware / src / xgopher.1.3 / panel.h.z / panel.h
C/C++ Source or Header  |  1998-01-21  |  2KB  |  70 lines

  1. /* panel.h
  2.    header file for panel.c, including some defines */
  3.  
  4.      /*---------------------------------------------------------------*/
  5.      /* Xgopher        version 1.3     08 April 1993                  */
  6.      /*                version 1.2     20 November 1992               */
  7.      /*                version 1.1     20 April 1992                  */
  8.      /*                version 1.0     04 March 1992                  */
  9.      /* X window system client for the University of Minnesota        */
  10.      /*                                Internet Gopher System.        */
  11.      /* Allan Tuchman, University of Illinois at Urbana-Champaign     */
  12.      /*                Computing and Communications Services Office   */
  13.      /* Copyright 1992, 1993 by                                       */
  14.      /*           the Board of Trustees of the University of Illinois */
  15.      /* Permission is granted to freely copy and redistribute this    */
  16.      /* software with the copyright notice intact.                    */
  17.      /*---------------------------------------------------------------*/
  18.  
  19.  
  20. #ifndef PANEL_H
  21. #define PANEL_H
  22.  
  23.  
  24. #define BS_fetch      01
  25. #define BS_copy          02
  26. #define BS_previous      04
  27. #define BS_unmark     010
  28. #define BS_unmarkAll     020
  29. #define BS_loadMarks     040
  30. #define BS_saveMarks    0100
  31. #define BS_info        0200
  32. #define BS_mark        0400
  33. #define BS_none        0
  34. #define BS_changeSelected    (BS_fetch|BS_copy|BS_info|BS_mark|BS_unmark)
  35. #define BS_all        0777
  36.  
  37. #define LS_infoItem    01000
  38. #define LS_markItem    02000
  39. #define LS_items       03000
  40. /*
  41. #define BS_all        (BS_fetch | BS_copy | BS_previous | BS_unmark | \
  42.              BS_unmarkAll | BS_loadMarks | BS_saveMarks | \
  43.              BS_info | BS_mark)
  44. */
  45.  
  46. typedef    int    buttonSet;
  47.  
  48.  
  49. String        infoItemLabel, infoDirLabel, markItemLabel, markDirLabel;
  50.  
  51. void        checkButtonState(
  52. #ifdef PROTO
  53.     buttonSet    /* which */
  54. #endif
  55. );
  56.  
  57. gopherItemP
  58. whichItemSelected(
  59. );
  60.  
  61. void        markProc(
  62. #ifdef PROTO
  63.     Widget,        /* w */
  64.     XtPointer,    /* client_data */
  65.     XtPointer    /* call_data */
  66. #endif
  67. );
  68.  
  69. #endif /* PANEL_H */
  70.